home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 8314 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  798 b 

  1. Path: news1.io.org!news
  2. From: rgianni@io.org (Robert Giannini)
  3. Newsgroups: comp.lang.c
  4. Subject: Need Help with mapping routine
  5. Date: Sun, 03 Mar 1996 05:55:52 GMT
  6. Organization: Internex Online (io.org), Toronto, Ontario, Canada
  7. Message-ID: <4hb10t$fao@news1.io.org>
  8. NNTP-Posting-Host: dyna-93.net7a.io.org
  9. X-Newsreader: Forte Agent .99c/32.126
  10.  
  11. Does any one know the best way to see what is in a sector on a map ie.
  12.  
  13.    0 1 2 3
  14.   1  X
  15.   2        X
  16.   3
  17.  
  18.  
  19. Point 1(1,1)
  20. Point 2(3,1)
  21.  
  22. Now what is the easist way to lay this out in a file so somehow I can
  23. use a read command just to get the points I want like
  24. read(fp,&x(3,1),sizeof(whatever))l;
  25.  
  26. I've been thinking about this and I don't see any way of doing it with
  27. out a structure which is somthing I really don't want to use.
  28.  
  29. Thanks for the help
  30.  
  31.  
  32.